package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.demo.entity.Adoption;
import com.example.demo.entity.Pet;
import com.example.demo.mapper.AdoptionMapper;
import com.example.demo.mapper.PetMapper;
import com.example.demo.service.IAdoptionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author demo
 * @since 2025-02-28
 */
@Service
public class AdoptionServiceImpl extends ServiceImpl<AdoptionMapper, Adoption> implements IAdoptionService {

    @Resource
    private AdoptionMapper adoptionMapper;
    @Override
    public IPage pageA(IPage<Adoption> page, Wrapper wrapper) {
        return adoptionMapper.pageA(page,wrapper);
    }
}
